<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');



class rapport extends CI_Controller {

    function rapport() {
        parent::__construct();
        $this->load->model('DBgraph_Model');
        $this->load->helper('url');
        $this->load->helper('form');
        $this->load->library('session');
    }

    function index() {
        if ($this->session->userdata('gemeente1')) {
            DBgraph_model::createImg();
        }
        $data['page'] = 'include/rapport';
        $this->load->view('main', $data);
    }

    function ownclusterimage() {
        $data['page'] = 'include/graphicclusterself';
        $this->load->view('main', $data);
    }

    function graphicclusterimage() {
        $data['page'] = 'include/graphicclusterselection';
        $this->load->view('main', $data);
    }

}

?>
